<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>商品属性管理</title>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

        <link rel="shortcut icon" href="../../../extends/img/favicon.ico" />
    <!-- Loading Bootstrap -->
    <link href="../../../extends/css/main.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="../../../assets/html5shiv.min.js"></script>
    <script src="../../../assets/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            "config": {
                "site": {
                    "name": "xshop",
                    "cdnurl": "../../../",
                    "version": "1.0.0",
                },
                "upload": {
                    "cdnurl": "./",
                },
                "modulename": "biz",
                "controllername": "goods",
                "actionname": "edit",
                "jsname": "main/js/biz/goodsTypeAttribute",
                "moduleurl": "./",
                "language": "zh-cn",
                "referer": null
            }
        };
    </script>
</head>

<body class="inside-header inside-aside is-dialog">
       <div id="main" role="main">
           <div class="tab-content tab-addtabs">
               <div id="content">
                   <div class="row">
                       <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                           <div class="content">
		                        <form id="editForm" class="form-horizontal form-ajax" action="/goodsTypeAttribute" role="form" method="post" data-toggle="validator">
		                        	<div id="errtips" class="hide"></div>
		                        	<input type="hidden" name="id" />
		                        	<input type="hidden" name="enable" />
		                        	
		                        	<div class="form-group">
			                            <label class="control-label col-xs-4 col-sm-3 col-md-2 col-lg-2 text-right">
			                              <span class="text-danger">*</span>属性名称
			                            </label>
			                            <div class="col-xs-7 col-sm-8 col-md-9 col-lg-9 no-padding">
			                                <input type="text" name="attributeName" class="form-control" placeholder="请输入属性名称"data-rule="required">
			                            </div>
			                        </div>
			
			                        <div class="form-group">
			                            <label class="control-label col-xs-4 col-sm-3 col-md-2 col-lg-2 text-right">
			                                <span class="text-danger">*</span>所属商品类型
			                            </label>
			                            <div class="col-xs-7 col-sm-8 col-md-9 col-lg-9 no-padding">
			                               	<select name="goodsType" class="form-control selectbox" data-rule="required">
			                               	</select>
			                            </div>
			                        </div>
			
			                        <div class="form-group">
			                            <label class="control-label col-xs-4 col-sm-3 col-md-2 col-lg-2 text-right">
			                                属性是否可选
			                            </label>
			                            <div class="col-xs-7 col-sm-8 col-md-9 col-lg-9 no-padding">
			                        		<div class="radio-inline">
			                                     <label class="choice-inline">
			                                          <input type="radio" name="isOptional" class="styled" value="1" checked="checked" >唯一属性
			                                     </label>
			                                 </div>
			                                 <div class="radio-inline">
			                                     <label class="choice-inline">
			                                        <input type="radio" name="isOptional" class="styled" value="2">单选属性
			                                     </label>
			                                 </div>
			                            </div>
			                        </div>
			
			                        <div class="form-group">
			                            <label class="control-label col-xs-4 col-sm-3 col-md-2 col-lg-2 text-right">
			                                该属性值的录入方式
			                            </label>
			                            <div class="col-xs-7 col-sm-8 col-md-9 col-lg-9 classifyParent no-padding">
			                        		<div class="radio-inline">
			                                     <label class="choice-inline">
			                                          <input type="radio" name="inputStyle" class="styled" value="1" >手工录入
			                                     </label>
			                                 </div>
			                                 <div class="radio-inline">
			                                     <label class="choice-inline">
			                                        <input type="radio" name="inputStyle" class="styled" value="2" checked="checked">从下面的列表中选择（多个选项使用英文逗号(,)分割）
			                                     </label>
			                                 </div>
			                            </div>
			                        </div>
			
			                        <div class="form-group">
			                            <label class="control-label col-xs-4 col-sm-3 col-md-2 col-lg-2 text-right">
			                                可选值列表
			                            </label>
			                            <div class="col-xs-7 col-sm-8 col-md-9 col-lg-9 no-padding">
			                            	<textarea rows="5" cols="7" name="options" class="form-control" placeholder="请输入可选值列表"></textarea>
			                            </div>
			                        </div>
			
			                        <div class="form-group">
			                            <label class="control-label col-xs-4 col-sm-3 col-md-2 col-lg-2 text-right">
			                                排序
			                            </label>
			                            <div class="col-xs-7 col-sm-8 col-md-9 col-lg-9 no-padding">
			                                <input type="text" name="sortNo" class="form-control touchspin-empty" placeholder="请输入 排序">
			                            </div>
			                        </div>
		
		                            <div class="form-group layer-footer">
	                                    <label class="control-label col-xs-3 col-sm-3 col-md-2 col-lg-2"></label>
	                                    <div class="col-xs-8 col-sm-8 col-md-9 col-lg-9">
			                                <button type="reset" class="btn btn-default" id="reset">重置 <i
			                                        class="icon-reload-alt position-right"></i></button>
			                                <button type="submit" class="btn btn-primary submit disabled" disabled>提交 <i
			                                        class="icon-arrow-right14 position-right"></i></button>
			                             </div>
		                            </div>
		                        </form>
                           </div>
                       </div>
                   </div>
               </div>
           </div>
       </div>
	<!-- /页面容器 -->
    <script src="../../../assets/requirejs/require.js" data-main="../../../extends/js/main.js"></script>
</body>
</html>